package com.apexedu.portal.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TFrontdeskNews entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_FRONTDESK_NEWS")
public class TFrontdeskNews implements java.io.Serializable {

	// Fields

	private String wid;
	private String lmmc;
	private String code;
	private String querysql;
	private String weiz;
	private String shuom;
	private String state;
	private String updatesql;

	// Constructors

	/** default constructor */
	public TFrontdeskNews() {
	}

	/** minimal constructor */
	public TFrontdeskNews(String wid) {
		this.wid = wid;
	}

	/** full constructor */
	public TFrontdeskNews(String wid, String lmmc, String code, String querysql, String weiz, String shuom, String state,String updatesql) {
		this.wid = wid;
		this.lmmc = lmmc;
		this.code = code;
		this.querysql = querysql;
		this.weiz = weiz;
		this.shuom = shuom;
		this.state = state;
		this.updatesql=updatesql;
	}

	// Property accessors
	@Id
	@Column(name = "WID", unique = true, nullable = false, length = 50)
	public String getWid() {
		return this.wid;
	}

	public void setWid(String wid) {
		this.wid = wid;
	}

	@Column(name = "LMMC", length = 50)
	public String getLmmc() {
		return this.lmmc;
	}

	public void setLmmc(String lmmc) {
		this.lmmc = lmmc;
	}

	@Column(name = "CODE", length = 50)
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "QUERYSQL", length = 2000)
	public String getQuerysql() {
		return this.querysql;
	}

	public void setQuerysql(String querysql) {
		this.querysql = querysql;
	}

	@Column(name = "WEIZ", length = 50)
	public String getWeiz() {
		return this.weiz;
	}

	public void setWeiz(String weiz) {
		this.weiz = weiz;
	}

	@Column(name = "SHUOM", length = 200)
	public String getShuom() {
		return this.shuom;
	}

	public void setShuom(String shuom) {
		this.shuom = shuom;
	}

	@Column(name = "STATE", length = 1)
	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name = "UPDATESQL", length = 2000)
	public String getUpdatesql() {
		return this.updatesql;
	}

	public void setUpdatesql(String updatesql) {
		this.updatesql = updatesql;
	}
}